package com.rabboit.config;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

/**
 * @author: LI-CI-GAO
 * 作者: licigao
 * 日期: 2021/8/31  20:47
 * 描述:
 */
//@RabbitListener(queues = {"TEST-QUEUE4","TEST-QUEUE5"})
//@Component
public class RabbitMessageListener3 {

    @RabbitHandler
    public void handler(String msg){

        System.out.println("===TOPIC==接收消息===="+msg);

    }

}
